package com.test.dao;


import com.test.domain.Customer;

import java.sql.Date;
import java.util.List;

public interface CustomerDao {

    //获取顾客信息
    Customer getCustomerByPhoneNumber(String phoneNumber);

    //登录注册存储过程
    int registerAndLogin(int C_M,String phoneNumber,String password);

    //顾客等级的变化->存储过程
    void DetermineMembershipLevel(String username);

    List<String> getUserName();

    List<Customer> getCustomerList();

    int judge(String phoneNumber);

    void updateForbiddenTimeByPhoneNumber(Date date,String employeeNumber,String phoneNumber);


}
